.component-palette {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.component-palette-header {
  padding: 12px;
}

.component-palette-search {
  margin-bottom: 8px;
}

.component-palette-tabs {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 12px;
}

.component-category {
  margin-bottom: 16px;
}

.component-category-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.component-item {
  margin-bottom: 8px;
  cursor: move;
  transition: all 0.2s;
}

.component-item-dragging {
  opacity: 0.5;
}

.component-item-content {
  display: flex;
  padding: 8px;
}

.component-item-icon {
  margin-right: 8px;
  font-size: 16px;
  color: #1890ff;
}

.component-item-name {
  font-weight: 500;
}

.component-item-desc {
  font-size: 12px;
  color: #999;
}

/* 添加的内容区域 */
.component-palette-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 12px;
} 